<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>list</title>
</head>
<body>
<div th:each="item:${list}">
    <li th:text="${item}"></li>
</div>
</body>
</html>